package com.cyt.work.kwmanagement.service;

import com.cyt.base.model.dto.ReturnResult;
import com.cyt.work.kwmanagement.model.po.KwManagement;
import com.cyt.work.kwmanagement.model.vo.KwManagementVo;
import com.cyt.sys.model.po.SysUser;
import com.cyt.sys.service.BaseService;

import java.util.List;

/**
 * 考务安排表-考务安排表Service层接口类
 *
 * @author han jun
 * @date 2019-11-26 11:15:26
 */
public interface KwManagementService extends BaseService<KwManagement> {

    /**
     * 查询对象集合
     *
     * @param kwManagementVo 对象
     * @return List 对象集合
     * @author han jun
     * @date 2019-11-26 11:15:26
     */
    List<KwManagement> listExample(KwManagementVo kwManagementVo);

    /**
     * 分页查询
     *
     * @param kwManagementVo 接受参数对象
     * @param pageNum          分页数
     * @param pageSize         每页显示条数
     * @return ReturnResult
     * @author han jun
     * @date 2019-11-26 11:15:26
     */
    ReturnResult page(KwManagementVo kwManagementVo, int pageNum, int pageSize);

    /**
     * 添加或更新
     *
     * @param kwManagementVo 参数接受对象
     * @param sysUser      当前用户
     * @return ReturnResult
     * @author han jun
     * @date 2019-11-26 11:15:26
     */
    ReturnResult addOrUpdate(KwManagementVo kwManagementVo, SysUser sysUser);


    /**
     *  更新当前的步骤
     *
     * @param kwManagementVo 参数接受对象
     * @param sysUser      当前用户
     * @return ReturnResult
     * @author han jun
     * @date 2019-11-26 11:15:26
     */
    ReturnResult addOrUpdateStep(KwManagementVo kwManagementVo, SysUser sysUser);


    /**
     * 根据条件逻辑删除
     *
     * @param kwManagementVo 参数接受对象
     * @param sysUser      当前用户
     * @return ReturnResult
     * @author han jun
     * @date 2019-11-26 11:15:26
     */
    ReturnResult remove(KwManagementVo kwManagementVo, SysUser sysUser);

    /**
     * 根据条件物理删除
     *
     * @param kwManagementVo 参数接受对象
     * @param sysUser      当前用户
     * @return ReturnResult
     * @author han jun
     * @date 2019-11-26 11:15:26
     */
    ReturnResult delete(KwManagementVo kwManagementVo, SysUser sysUser);

    /**
     * 单个对象查询
     *
     * @param kwManagementVo 接受参数对象
     * @return KwTeacherSetting
     * @author han jun
     * @date 2019-11-26 11:26:25
     */
    KwManagementVo findOneVo(KwManagementVo kwManagementVo);
}